home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmSetFontUnits.z / XmSetFontUnits
Encoding:
Text File  |  2003-11-18  |  2.9 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmSSSSeeeettttFFFFoooonnnnttttUUUUnnnniiiittttssss((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV        XXXXmmmmSSSSeeeettttFFFFoooonnnnttttUUUUnnnniiiittttssss((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_S_e_t_F_o_n_t_U_n_i_t_s - A function that sets    the font unit value
  10.       for a    display
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/Xm.h>
  14.  
  15.       void XmSetFontUnits (ddddiiiissssppppllllaaaayyyy,,,,    hhhh____vvvvaaaalllluuuueeee,,,, vvvv____vvvvaaaalllluuuueeee)
  16.            _D_i_s_p_l_a_y     **** ddddiiiissssppppllllaaaayyyy;
  17.            _i_n_t     hhhh____vvvvaaaalllluuuueeee;
  18.            _i_n_t     vvvv____vvvvaaaalllluuuueeee;
  19.  
  20.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.       _X_m_S_e_t_F_o_n_t_U_n_i_t_s provides an external function to initialize
  22.       font unit values.  Applications may want to specify
  23.       resolution-independent data based on a global    font size.
  24.       This function    must be    called before any widgets with
  25.       resolution-independent data are created.  See    the
  26.       _X_m_N_u_n_i_t_T_y_p_e resource description in the manual pages for
  27.       _X_m_G_a_d_g_e_t, _X_m_M_a_n_a_g_e_r, and _X_m_P_r_i_m_i_t_i_v_e for more    information on
  28.       resolution independence.
  29.  
  30.       This function    sets the font units for    all screens on the
  31.       display.  _X_m_S_e_t_F_o_n_t_U_n_i_t_s is obsolete and exists for
  32.       compatibility    with previous releases.     Instead of using this
  33.       function, provide initial values or call _X_t_S_e_t_V_a_l_u_e_s for the
  34.       XmScreen resources _X_m_N_h_o_r_i_z_o_n_t_a_l_F_o_n_t_U_n_i_t and
  35.       _X_m_N_v_e_r_t_i_c_a_l_F_o_n_t_U_n_i_t.
  36.  
  37.       ddddiiiissssppppllllaaaayyyy
  38.            Defines the display for which this font unit value is
  39.            to be applied.
  40.  
  41.       hhhh____vvvvaaaalllluuuueeee
  42.            Specifies the value to be used for horizontal units in
  43.            the conversion calculations.
  44.  
  45.       hhhh____vvvvaaaalllluuuueeee
  46.            Specifies the value to be used for vertical units in
  47.            the conversion calculations.
  48.  
  49.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  50.       _X_m_C_o_n_v_e_r_t_U_n_i_t_s(_3_X), _X_m_S_e_t_F_o_n_t_U_n_i_t(_3_X), _X_m_G_a_d_g_e_t(_3_X),
  51.       _X_m_M_a_n_a_g_e_r(_3_X), _X_m_P_r_i_m_i_t_i_v_e(_3_X), and _X_m_S_c_r_e_e_n(_3_X).
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.